const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  chainWebpack: config => {
    config.plugin('html').tap(args => {
      args[0].title = "校园帮忙管理后台";
      return args
    })
  },
  devServer: {
    port: 8080,
    allowedHosts: 'all',
    webSocketServer: false,  // !!!!! 关键
  },
})